FROM findepi/graalvm:java17-native

MAINTAINER Lion Li

RUN mkdir -p /cws/monitor/logs

WORKDIR /cws/monitor

EXPOSE 9090

ADD ./target/cws-monitor-admin.jar ./app.jar

ENTRYPOINT ["java", "-Djava.security.egd=file:/dev/./urandom", "-jar", "app.jar"]
